package com.easylinkin.linkappapi.taskscheduler.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserAreaVO {
    @ApiModelProperty(value = "重置时间", example = "")
    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    private Date resetTime;

    @ApiModelProperty(value = "重置区域", example = "1,2,3")
    private String resetArea;

    /**
     * 1-启用，0-禁用
     */
    @ApiModelProperty(value = "是否启用", example = "")
    private String enabled = "1";
}
